﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ESN.Languages.en
{
    public class Quiz
    {
        public static string Locale(string key)
        {
            Dictionary<string, string> d = new Dictionary<string, string>();
            d.Add("name", "Quiz name");
            d.Add("create", "Create Your Quiz");
            d.Add("public", "Public");
            d.Add("trace", "Trace");
            d.Add("time_limit", "Time Limit");
            d.Add("hour", "Hour");
            d.Add("minute", "Minute");
            d.Add("second", "Second");
            d.Add("shot", "Shot");
            d.Add("free_shot", "Fre shot");
            d.Add("single", "Only One is Correct");
            d.Add("multi", "Some One is Correct");
            d.Add("col_match", "Match two columns");
            d.Add("gap_filling", "Gap Fillling");
            d.Add("essay", "Essay");
            d.Add("change", "Change");
            d.Add("save_add", "Save and Add new");
            d.Add("update_add", "Update and Add new");
            d.Add("submit", "Submit");
            d.Add("filter_cat", "Filter by Catergories");
            d.Add("filter_create_time", "Creat Time");
            d.Add("filter_time", "Time to go");
            d.Add("filter_done", "Done");
            d.Add("filter_avg_point", "Average Point");
            d.Add("filter_avg_time", "Average Time");
            d.Add("filter_num_quest", "Number of Question");
            d.Add("filter_num_shot", "Number of Shot");
            d.Add("filter_asc", "Ascending");
            d.Add("filter_desc", "Descending");
            d.Add("res_length", "Your response length (current is <span id=\"answerType4Len\">0</span>) must be between <span id=\"answerType4LenMin\"></span> and <span id=\"answerType4LenMax\"></span>.");
            d.Add("by", "By");
            d.Add("at", "At");
            d.Add("in", "In");
            d.Add("cat", "Catergory");
            d.Add("begin", "Begin");
            d.Add("new_cat", "Create a new catergory");
            d.Add("delete", "Delete");
            d.Add("edit", "Edit");
            d.Add("question", "Question");
            d.Add("answer", "Answer");
            d.Add("correct", "Correct");
            d.Add("just_finish", "Jus finish <a href=\"/Quiz/TestInfo/{0}\">one of your exsercise</a> and waiting for your prview!");
            d.Add("point", "Point");
            if (d.ContainsKey(key))
                return d[key];
            else
                return null;
        }
    }
}